<?python
	import cherrypy as http
	
	def get_class(section_name, active_section):
		if active_section == section_name:
			return "current"
		return "";
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?python import sitetemplate ?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#" py:extends="sitetemplate">

<head py:match="item.tag=='{http://www.w3.org/1999/xhtml}head'" py:attrs="item.items()">
    <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>

    <meta py:replace="item[:]"/>
    <title>Your title goes here</title>
</head>

<body py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'" py:attrs="item.items()">
	
	<div id="header">
	</div>
	
	<div id="container">

		<div id="navigation">
		<ul id="navigation">
			<li><a class="${get_class('dashboard', active_section)}" href="/dashboard">Dashboard</a></li>
			<li><a class="${get_class('project', active_section)}" href="/project">Project</a></li>
			<li><a class="${get_class('people', active_section)}" href="/people">People</a></li>
			<li><a class="${get_class('recentchanges', active_section)}" href="/recentchanges">Recent Changes</a></li>
			
			<li><a href="/logout">Logout</a></li>
		</ul>
		</div>

		<div id="content">
	
    		<div py:if="tg_flash" class="flash" py:content="tg_flash"></div>
    
    		<div py:replace="item[:]"/>
		</div>
	</div>
</body>
</html>